package submission_review_system.entity;

/**
 * 投稿人的实体类
 */
public class Author {
    private String id;
    private String account_;
    private String password_;
    private String name_;
    private String contact;

    public Author(String id, String account_, String password_, String name_, String contact) {
        this.id = id;
        this.account_ = account_;
        this.password_ = password_;
        this.name_ = name_;
        this.contact = contact;
    }

    public Author() {
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getAccount_() {
        return account_;
    }

    public void setAccount_(String account_) {
        this.account_ = account_;
    }

    public String getPassword_() {
        return password_;
    }

    public void setPassword_(String password_) {
        this.password_ = password_;
    }

    public String getName_() {
        return name_;
    }

    public void setName_(String name_) {
        this.name_ = name_;
    }

    public String getContact() {
        return contact;
    }

    public void setContact(String contact) {
        this.contact = contact;
    }

    @Override
    public String toString() {
        return "Author{" +
                "id='" + id + '\'' +
                ", account_='" + account_ + '\'' +
                ", password_='" + password_ + '\'' +
                ", name_='" + name_ + '\'' +
                ", contact='" + contact + '\'' +
                '}';
    }
}
